package cn.waqwb.entity;

/**
 * @author JokerQ
 * @date 2020/7/30 - 21:44
 */
public class Book {
    private int id;
    private String productName;
    /**
     * 固定价格，原价
     */
    private double fixedPrice;
    /**
     * 当当网优惠价格
     */
    private double dangPrice;
    private String productPic;
    private String author;
    private String publishing;
    private String publishTime;
    private String authorSummary;
    private String description;
    private int score;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public double getFixedPrice() {
        return fixedPrice;
    }

    public void setFixedPrice(double fixedPrice) {
        this.fixedPrice = fixedPrice;
    }

    public double getDangPrice() {
        return dangPrice;
    }

    public void setDangPrice(double dangPrice) {
        this.dangPrice = dangPrice;
    }

    public String getProductPic() {
        return productPic;
    }

    public void setProductPic(String productPic) {
        this.productPic = productPic;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPublishing() {
        return publishing;
    }

    public void setPublishing(String publishing) {
        this.publishing = publishing;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public String getAuthorSummary() {
        return authorSummary;
    }

    public void setAuthorSummary(String authorSummary) {
        this.authorSummary = authorSummary;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }



    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", productName='" + productName + '\'' +
                ", fixedPrice=" + fixedPrice +
                ", dangPrice=" + dangPrice +
                ", productPic='" + productPic + '\'' +
                ", author='" + author + '\'' +
                ", publishing='" + publishing + '\'' +
                ", publishTime='" + publishTime + '\'' +
                ", authorSummary='" + authorSummary + '\'' +
                ", description='" + description + '\'' +
                ", score=" + score +
                '}';
    }
}
